The simplest type of digital logic circuit is an inverter, also called an inverting buffer, or NOT gate. Here is a schematic diagram for an inverter gate constructed from complementary MOSFETs (CMOS), shown connected to a SPDT switch and an LED:



Determine the status of the LED in each of the input switchs two positions. Denote the logic level of switch and LED in the form of a truth table: